#!/bin/bash

i=2
id=$(pidof mysignal)
while [ $i -le 7 ]
do
    kill -$i $id
    echo "kill -$i $id"
    let i++
    sleep 1
done